function fun() {
  let a = '123'
  let b = '456'
  return () => {
    console.log(this)
    console.log(this.name)
    console.log(a)
    console.log(b)
  }
}

const obj = {
  name: 'wsj',
  age: '24',
  fun
}

// obj.fun()()
let niming = fun()
niming()